package com.facotry.ex;

/**
 * --- 代码敲烂 月薪过万 ---
 *
 * @author 崔瑜航
 * @date 2024/7/30
 * @desc 未登录异常类
 */

public class NoLoginException extends RuntimeException{
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public NoLoginException(int code, String message){
        super(message);
        this.code = code;

    }
}
